<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:62:"F:\www\www.ccig8.com/application/admin\view\user\userlist.html";i:1544258453;s:59:"F:\www\www.ccig8.com\application\admin\view\public\top.html";i:1542871372;}*/ ?>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<link href="/public/admin/login/css/public.css" type="text/css" rel="stylesheet">
<link href="/public/admin/login/css/style.css" type="text/css" rel="stylesheet">

<script type="text/javascript" src="/public/index/js/jquery.js"></script>
<script src="/public/admin/login/js/admin.js"></script>
<script src="/public/admin/login/js/jquery-ui.min.js"></script>
</head>
<body>
<style>
.pagination li{
float:left;
}
</style>



<script type="text/javascript">
<!--头部和左部公共JS-->
$(document).ready(function(){
	$('.right_side').height($(window).height()-60);
	$(".sidebar_menu > li.active a").click(function(){
		var thisli = $(this);
	    if(thisli.parent().find('.treeview_menu').is(':hidden')){
			thisli.parent().addClass('current');
			thisli.parent().find('ul.treeview_menu').slideDown(300);	
			thisli.parent().find("a i.fa").addClass('pull_right');
		}else{
			thisli.parent().removeClass('current');
			thisli.parent().find('ul.treeview_menu').slideUp(100);	
			thisli.parent().find("a i.fa").removeClass('pull_right');
		}
	});
	$('.treeview_menu li').click(function(){
		$('.treeview_menu li').removeClass('on');
		$(this).addClass('on');
	});
	
});
</script>


<div class="pad">
<div class="breadNav">
  <div class="flt breadNav_text"> <span>会员</span><i></i><span>会员管理</span><i></i><span>会员管理</span> </div>
  <div class="frt breadNav_other">
    <div class="bn_input theme-pop-btn">
      <form method="post" action="">
        <div class="bn_input">用户名：
          <input type="text" name="name" value="<?php echo $name; ?>" class="text">
          类型：
          <select name="from" class="text">
            <option value="1">全部
            </option>
                      </select>
        </div>
        <div class="bn_input">
          <input type="submit" class="pub_btn" value="搜索">
        </div>
      </form>
      <div class="bn_input"> <a href="<?php echo url('user/adduser'); ?>" class="pub_btn ">添加用户</a></div>
    </div>
    <div class="clear"></div>
  </div>
</div>
<form target="zhuchuang_frm" method="post">
<div class="daemonTable">
  <table class="table_data daemon_data" cellpadding="0" cellspacing="0">
    <tbody><tr class="">
      <th> 序号 </th>
      <th> 会员名 </th>
      <th> 实名 </th>
      <th> 手机 </th>
     
      <th> 资金 </th>
      <th> 推荐人 </th>
      <th> 状态 </th>
      <th class="w-300"> 操作 </th>
    </tr>
	<?php if(is_array($user) || $user instanceof \think\Collection || $user instanceof \think\Paginator): $i = 0; $__LIST__ = $user;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
    <tr class="cred">
        <td class="w-50"><label class="checkbox">
            <input class="child_uid" type="checkbox" name="uid[]" value="<?php echo $vo['id']; ?>">
<?php echo $vo['id']; ?></label></td>
        <td width="100"><?php echo $vo['name']; ?></td>
        <td><br>
                    </td>
        <td><?php echo $vo['mobile']; ?><br>
          </td>
        
        <td width="100"><?php echo $vo['amount']; ?> </td>  <td width="100"><?php echo inviter($vo['inviter']); ?> </td>
        <td width="100">   <?php if($vo['state'] == '1'): ?>正常<?php endif; if($vo['state'] == '2'): ?>锁定<?php endif; ?>      </td>
        <td class="w-300"><a target="_blank" href="<?php echo url('user/loginqd',array('id'=>$vo['id'])); ?>" class="pub_btn">管理</a> <a href="<?php echo url('user/userlistxx',array('id'=>$vo['id'])); ?>" class="pub_btn ">查看</a>          <a href="<?php echo url('user/upuser',array('id'=>$vo['id'])); ?>" class="pub_btn ">编辑</a>          <a href="<?php echo url('user/deleuser',array('id'=>$vo['id'])); ?>" mini="" class="pub_btn grayBtn ">删除</a> </td>
      </tr>
	  <?php endforeach; endif; else: echo "" ;endif; ?>
	   </tbody></table>
</div>
<div class="daemonBot">
  <div class="flt daemonBot_cz">
   <!--  <label class="checkbox">
      <input type="checkbox" class="checkAll" rel="uid">
      全选</label>
      <a href="" mini="list" class="pub_btn grayBtn ">批量删除</a> --> </div>
  <div class="frt daemonPage">      <?php echo $user->render(); ?>       </div>
  <div class="clear"></div>
</div>
</form></div>
<div class="theme-popover">   
</div>
<div class="theme-popover-mask"></div>



</body></html>